// 文件上传
import request from "@/utils/request";

export const upload = (data: any) => {
  return request({
    url: "/common/upload",
    method: "post",
    data: data,
    headers: {
      "Content-Type": "multipart/form-data"
    }
  });
};
